package org.jeecg.modules.ecard.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
/**
 * <p>
 * 
 * </p>
 *
 * @author 杜正冬
 * @since 2025-03-26
 */
@Getter
@Setter
@ToString
@TableName("SMART.SMART_PERSONNEL")
@ApiModel(value = "SmartPersonnelEntity对象", description = "")
public class SmartPersonnelEntity extends Model<SmartPersonnelEntity> {

    private static final long serialVersionUID = 1L;

    @TableId("SMT_PERSONNELID")
    private Long smtPersonnelid;

    @TableField("SMT_NAME")
    private String smtName;

    @TableField("SMT_NAMESPELL")
    private String smtNamespell;

    @TableField("SMT_SEX")
    private String smtSex;

    @TableField("SMT_BIRTHDAY")
    private Date smtBirthday;

    @TableField("SMT_SALARYNO")
    private String smtSalaryno;

    @TableField("SMT_IDCODE")
    private String smtIdcode;

    @TableField("SMT_IDNO")
    private String smtIdno;

    @TableField("SMT_DATASOURCE")
    private String smtDatasource;

    @TableField("SMT_INDATETIME")
    private Date smtIndatetime;

    @TableField("SMT_EMAIL")
    private String smtEmail;

    @TableField("SMT_DEPTCODE")
    private String smtDeptcode;

    @TableField("SMT_POSTCODE")
    private String smtPostcode;

    @TableField("SMT_STATUSCODE")
    private String smtStatuscode;

    @TableField("SMT_DOSSIERCODE")
    private String smtDossiercode;

    @TableField("SMT_NATIVE")
    private String smtNative;

    @TableField("SMT_PEOPLE")
    private String smtPeople;

    @TableField("SMT_MARRIED")
    private String smtMarried;

    @TableField("SMT_DWELLING")
    private String smtDwelling;

    @TableField("SMT_POLITY")
    private String smtPolity;

    @TableField("SMT_PHONENO")
    private String smtPhoneno;

    @TableField("SMT_DAILYCODE")
    private String smtDailycode;

    @TableField("SMT_DAILYNO")
    private Long smtDailyno;

    @TableField("SMT_POSTALCODE")
    private String smtPostalcode;

    @TableField("SMT_LINKADDRESS")
    private String smtLinkaddress;

    @TableField("SMT_MOBILETELEPHONE")
    private String smtMobiletelephone;

    @TableField("SMT_LINKMAN")
    private String smtLinkman;

    @TableField("SMT_LINKUNIT")
    private String smtLinkunit;

    @TableField("SMT_LINKMANADDRESS")
    private String smtLinkmanaddress;

    @TableField("SMT_LINKMANPHONE")
    private String smtLinkmanphone;

    @TableField("SMT_LINKMANMOBILE")
    private String smtLinkmanmobile;

    @TableField("SMT_SALARYCODE")
    private String smtSalarycode;

    @TableField("SMT_SPECIALTYPOSTCODE")
    private String smtSpecialtypostcode;

    @TableField("SMT_DEGREECODE")
    private String smtDegreecode;

    @TableField("SMT_LEVELCODE")
    private String smtLevelcode;

    @TableField("SMT_COUNTRYCODE")
    private String smtCountrycode;

    @TableField("SMT_IDCARDNO")
    private String smtIdcardno;

    @TableField("SMT_VISADATE")
    private Date smtVisadate;

    @TableField("SMT_VALIDITYDATE")
    private Short smtValiditydate;

    @TableField("SMT_VISAORGAN")
    private String smtVisaorgan;

    @TableField("SMT_SPECIALTYCODE")
    private String smtSpecialtycode;

    @TableField("SMT_KNOWLEDGECODE")
    private String smtKnowledgecode;

    @TableField("SMT_INCOMPANYDATE")
    private Date smtIncompanydate;

    /**
     * 学号
     */
    @ApiModelProperty("学号")
    @TableField("SMT_STUDENTID")
    private String smtStudentid;

    @TableField("SMT_ST_FLAG")
    private Short smtStFlag;

    @TableField("SMT_ST_PASS")
    private String smtStPass;

    @TableField("SMT_ST_DATE")
    private Date smtStDate;

    @TableField("SMT_MANAGE_ORG")
    private String smtManageOrg;

    @TableField("SMT_NATIONALITY")
    private String smtNationality;

    @TableField("SMT_KEYWORD")
    private String smtKeyword;

    @TableField("SMT_SWITCH")
    private String smtSwitch;

    @TableField("SMT_WORKNO")
    private String smtWorkno;

    @Override
    public Serializable pkVal() {
        return this.smtPersonnelid;
    }
}
